Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
& dont touch, it works ! git-svn-id: file:///comboy/svn/onim/trunk@18 ddd93275-964d-42a2-867a-75629c878e58
- Loading branch information
Showing
8 changed files
with
112 additions
and
21 deletions.
There are no files selected for viewing
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd"> | ||
<!--Generated with glade3 3.4.5 on Mon Dec 22 17:34:50 2008 --> | ||
<glade-interface> | ||
<widget class="GtkWindow" id="window_about"> | ||
<property name="width_request">400</property> | ||
<property name="height_request">200</property> | ||
<property name="title" translatable="yes">ONIM - o nim :)</property> | ||
<property name="resizable">False</property> | ||
<property name="modal">True</property> | ||
<child> | ||
<widget class="GtkFixed" id="fixed1"> | ||
<property name="visible">True</property> | ||
<child> | ||
<widget class="GtkLabel" id="label1"> | ||
<property name="width_request">240</property> | ||
<property name="height_request">84</property> | ||
<property name="visible">True</property> | ||
<property name="label" translatable="yes"><span size="xx-large"><b>ONIM</b></span> | ||
One Night Instant Mess<span color="gray">enger</span> | ||
|
||
Autor: <i>Kacper Cieśla</i></property> | ||
<property name="use_markup">True</property> | ||
<property name="justify">GTK_JUSTIFY_CENTER</property> | ||
</widget> | ||
<packing> | ||
<property name="x">160</property> | ||
<property name="y">23</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<widget class="GtkButton" id="button_ok"> | ||
<property name="width_request">136</property> | ||
<property name="height_request">32</property> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="receives_default">True</property> | ||
<property name="label" translatable="yes">Podoba mi się</property> | ||
<property name="response_id">0</property> | ||
</widget> | ||
<packing> | ||
<property name="x">206</property> | ||
<property name="y">134</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<widget class="GtkImage" id="image_about"> | ||
<property name="width_request">153</property> | ||
<property name="height_request">159</property> | ||
<property name="visible">True</property> | ||
<property name="pixbuf">about.gif</property> | ||
</widget> | ||
<packing> | ||
<property name="x">7</property> | ||
<property name="y">21</property> | ||
</packing> | ||
</child> | ||
</widget> | ||
</child> | ||
</widget> | ||
</glade-interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module Onim | ||
class Gui | ||
# About window | ||
class About | ||
# Show window and load garfield image :] | ||
def initialize(gui) | ||
@gui = gui | ||
@glade = GladeXML.new(Onim::PATH+'gui/about.glade', nil, 'window_about') | ||
@window = @glade['window_about'] | ||
@glade['button_ok'].signal_connect('clicked') { @window.hide } | ||
@window.modify_bg(Gtk::STATE_NORMAL,Gdk::Color.new(255*255, 255*255, 255*255)) | ||
@image = @glade['image_about'] | ||
@image.pixbuf = Gdk::Pixbuf.new(File.join(Onim::PATH,"gui","images","about.gif")) | ||
@window.show | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
module Onim | ||
class Gui | ||
|
||
# Account configuration window | ||
class Account | ||
attr_accessor :base | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters