aboutsummaryrefslogtreecommitdiffstats
path: root/core/addon/bugreport.rb
diff options
context:
space:
mode:
authortoshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8>2010-09-11 02:38:47 +0000
committertoshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8>2010-09-11 02:38:47 +0000
commitce0df2ba42115909e321574972c2f362a97028c2 (patch)
tree0740c36ebd2808df88a655322183688dbaced3aa /core/addon/bugreport.rb
parent7e1fd0309bc3fa68ee3a6bc3a63f21ed8eb3eb9b (diff)
downloadmikutter-ce0df2ba42115909e321574972c2f362a97028c2.tar.gz
git-svn-id: svn://toshia.dip.jp/mikutter/trunk@129 03aab468-d3d2-4883-8b12-f661bbf03fa8
Diffstat (limited to 'core/addon/bugreport.rb')
-rw-r--r--core/addon/bugreport.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/addon/bugreport.rb b/core/addon/bugreport.rb
index 98e40f1d..5e1e05f4 100644
--- a/core/addon/bugreport.rb
+++ b/core/addon/bugreport.rb
@@ -16,10 +16,9 @@ Module.new do
def self.popup
alert_thread = if(Thread.main != Thread.current) then Thread.current end
dialog = Gtk::Dialog.new("bug report")
- container = main
dialog.set_size_request(600, 400)
dialog.window_position = Gtk::Window::POS_CENTER
- dialog.vbox.pack_start(container, true, true, 30)
+ dialog.vbox.pack_start(main, true, true, 30)
dialog.add_button(Gtk::Stock::OK, Gtk::Dialog::RESPONSE_OK)
dialog.add_button(Gtk::Stock::CANCEL, Gtk::Dialog::RESPONSE_CANCEL)
dialog.default_response = Gtk::Dialog::RESPONSE_OK
@@ -41,7 +40,6 @@ Module.new do
dialog.signal_connect("destroy") {
false
}
- container.show
dialog.show_all
Gtk::Window.toplevels.first.hide
if(alert_thread)
@@ -80,7 +78,7 @@ Module.new do
Plugin.call(:update, nil, [Message.new(:message => "エラー報告を送信しました。ありがとう♡",
:system => true)])
rescue => e
- Plugin.call(:update, nil, [Message.new(:message => "ごめんなさい。エラー通知通知すらバグってるみたいだわ\n\n#{e.to_s}",
+ Plugin.call(:update, nil, [Message.new(:message => "エラー通知「#{e.to_s}」フォロワー監視「エラー通知がやられたようだな」スレッド「しかしやつは我々プラグインのバグ情報をフィードバックするための機能・・・」プロフィール「そのプラグインにバグがあるとはmikutterプラグインの面汚しよ」",
:system => true)])
end } end